﻿<UserControl x:Class="LiveTiss.Teste"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
    mc:Ignorable="d" Width="Auto" Height="Auto"
    xmlns:uc="clr-namespace:LiveTiss.Guias.UserControls"
    xmlns:guia="clr-namespace:LiveTiss.Guias">
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="72"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="140" MinWidth="200"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid x:Name="Fundo" Margin="0" Grid.Row="1" Grid.Column="1">
            <Image x:Name="BackGroundGeral" Source="Content/BackGroundGeral.png" Stretch="Fill" Margin="0"/>
            <Image x:Name="MarcaDagua" Source="Content/Aplicacao_background.png" Stretch="Fill" VerticalAlignment="Center" Margin="0" Height="223" Width="527" HorizontalAlignment="Center"/>
        </Grid>
        <ScrollViewer x:Name="Meio" Grid.Column="1" Margin="0" Grid.Row="1">
            <StackPanel>
                <!--<uc:DenteRegiao x:Name="ucTeste" />-->
                <!--<uc:GuiaOdontologiaProcedimentosExecutadosProcedimentoExecutado x:Name="ucTeste" />-->
                <uc:ListaProcedimentoOdontoRevisao x:Name="ucTeste" />
            </StackPanel>
        </ScrollViewer>
        <Grid x:Name="Lateral" Margin="0" Grid.Row="2">
            <Rectangle x:Name="Retangulo_Efeito" Fill="#FFD04242">
                <Rectangle.Effect>
                    <DropShadowEffect BlurRadius="30" Opacity="0.25"/>
                </Rectangle.Effect>
            </Rectangle>
            <sdk:TreeView Margin="0,22,0,0" Style="{StaticResource TreeViewStyle}" ItemContainerStyle="{StaticResource ConnectingLinesTreeViewItem}"/>
            <Button x:Name="SalvarSessao_Button" Content="Salvar Sessão" Margin="0" Style="{StaticResource SalvarSessao_Button}" VerticalAlignment="Top" Height="22" Click="SalvarSessao_Button_Click"/>
        </Grid>
        <sdk:GridSplitter HorizontalAlignment="Left" Width="5" Margin="0" Grid.Row="1" Background="#FFACDDDB" Grid.Column="1"/>
        <Grid x:Name="Topo" Margin="0" Grid.ColumnSpan="2" Background="#FF89BC33">
            <Rectangle x:Name="Header_Verde" Stretch="Fill" Grid.Row="0" Grid.Column="0" Margin="0" >
                <Rectangle.Effect>
                    <DropShadowEffect BlurRadius="30" Opacity="0.245"/>
                </Rectangle.Effect>
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <LinearGradientBrush.RelativeTransform>
                            <CompositeTransform CenterY="0.5" CenterX="0.5" Rotation="90"/>
                        </LinearGradientBrush.RelativeTransform>
                        <GradientStop Color="#FF7BAEAB"/>
                        <GradientStop Color="#FFACDDDB" Offset="1"/>
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <Rectangle x:Name="Header_Branco" Stretch="Fill" Grid.Row="0" Grid.Column="0" Margin="0" >
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <LinearGradientBrush.RelativeTransform>
                            <CompositeTransform CenterY="0.5" CenterX="0.5" Rotation="94"/>
                        </LinearGradientBrush.RelativeTransform>
                        <GradientStop Color="#FFEFF4F4" Offset="0.912"/>
                        <GradientStop Color="#00EFF4F4" Offset="0.565"/>
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <Image Margin="0,11,0,0" Source="Content/Aplicacao pequena.png" Stretch="Fill" HorizontalAlignment="Left" Width="199" Height="73" VerticalAlignment="Top"/>
            <Grid x:Name="Usuario" HorizontalAlignment="Right" Margin="0,10,14,10" Width="247">
                <TextBlock x:Name="Nome_do_Usuario" TextWrapping="Wrap" VerticalAlignment="Top" FontSize="16" Height="19" HorizontalAlignment="Right" Width="64" Foreground="White" Margin="0"><Run Text="Usu"/><Run Text="ário"/></TextBlock>
                <Button x:Name="DadosButton" Content="dados" Style="{StaticResource Botao_Topo}" Margin="0,0,32,0" FontSize="10.667" Height="26" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="40"/>
                <Button x:Name="SairButton" Content="sair" Style="{StaticResource Botao_Topo}" Width="24" HorizontalAlignment="Right" FontSize="10.667" Height="26" VerticalAlignment="Bottom"/>
                <Rectangle x:Name="Linha_Divisao" Fill="White" HorizontalAlignment="Right" Height="18" Margin="0,0,26,8" VerticalAlignment="Bottom" Width="4" RenderTransformOrigin="0.5,0.5">
                    <Rectangle.RenderTransform>
                        <CompositeTransform ScaleY="0.8" ScaleX="0.4"/>
                    </Rectangle.RenderTransform>
                </Rectangle>
            </Grid>
        </Grid>
    </Grid>
</UserControl>
